package com.situ.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/student")
public class StudentController {

    @RequestMapping("/demo")
    public void demo(Integer id, String name) {
        System.out.println("StudentController.demo");
        System.out.println(id);
        System.out.println(name);
    }
}
